class AddFieldsToFeeds < ActiveRecord::Migration
  def self.up
    add_column :feeds, :entries_changed_at, :datetime
    add_column :feeds, :harvested_from_display_uri, :string, :limit => 2083
    add_column :feeds, :harvested_from_title, :string, :limit => 1000
    add_column :feeds, :harvested_from_short_title, :string, :limit => 100
  end
  
  def self.down
    remove_column :feeds, :entries_changed_at
    remove_column :feeds, :harvested_from_display_uri
    remove_column :feeds, :harvested_from_title
    remove_column :feeds, :harvested_from_short_title
  end
end
